<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    const heightC = 10;
    const dC = 4;
    const v = Math.PI * (dC * 0.5) ** 2 * heightC;
    console.log(v)
</script>
</body>
</html>